<div class="panel panel-default panel-intro">
    <div class="panel-heading">
        <ul class="nav nav-tabs" role="tablist">
            <li role="presentation" class="active"><a href="#proxy_driving_agreement" aria-controls="proxy_driving_agreement" role="tab" data-toggle="tab">代驾协议</a></li>
            <li role="presentation"><a href="#legal_terms_and_platform_rules" aria-controls="legal_terms_and_platform_rules" role="tab" data-toggle="tab">法律条款与平台规则</a></li>
            <li role="presentation"><a href="#user_agreement" aria-controls="user_agreement" role="tab" data-toggle="tab">用户协议</a></li>
            <li role="presentation"><a href="#privacy_policy" aria-controls="privacy_policy" role="tab" data-toggle="tab">隐私政策</a></li>

        </ul>
    </div>
    <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
        <div class="tab-content">
            <div role="tabpanel" class="tab-pane active" id="proxy_driving_agreement">
                <div class="panel-body">
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">代驾协议:</label>
                        <div class="col-xs-12 col-sm-8">
                            <textarea id="c-proxy_driving_agreement" class="form-control editor" rows="5" name="row[proxy_driving_agreement]" cols="50">{$row.proxy_driving_agreement|htmlentities}</textarea>
                        </div>
                    </div>
                </div>
            </div>
            <div role="tabpanel" class="tab-pane" id="legal_terms_and_platform_rules">
                <div class="panel-body">
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">法律条款与平台规则:</label>
                        <div class="col-xs-12 col-sm-8">
                            <textarea id="c-legal_terms_and_platform_rules" class="form-control editor" rows="5" name="row[legal_terms_and_platform_rules]" cols="50">{$row.legal_terms_and_platform_rules|htmlentities}</textarea>
                        </div>
                    </div>
                </div>
            </div>
            <div role="tabpanel" class="tab-pane" id="user_agreement">
                <div class="panel-body">
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">用户协议:</label>
                        <div class="col-xs-12 col-sm-8">
                            <textarea id="c-user_agreement" class="form-control editor" rows="5" name="row[user_agreement]" cols="50">{$row.user_agreement|htmlentities}</textarea>
                        </div>
                    </div>
                </div>

            </div>
            <div role="tabpanel" class="tab-pane" id="privacy_policy">
                <div class="panel-body">
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">隐私政策:</label>
                        <div class="col-xs-12 col-sm-8">
                            <textarea id="c-privacy_policy" class="form-control editor" rows="5" name="row[privacy_policy]" cols="50">{$row.privacy_policy|htmlentities}</textarea>
                        </div>
                    </div>
                </div>
            </div>

            <div class="form-group layer-footer">
                <label class="control-label col-xs-12 col-sm-2"></label>
                <div class="col-xs-12 col-sm-8">
                    <button type="submit" class="btn btn-success btn-embossed">{:__('OK')}</button>
                    <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
                </div>
            </div>
        </div>
    </form>
</div>